package com.yili.orderservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yili.common.result.Result;
import com.yili.model.entity.Orders;
import com.yili.model.vo.OrderForm;
import java.util.List;


public interface OrderService extends IService<Orders> {

    Result<Orders> add(OrderForm orderForm);

    /**
     * 更新订单状态
     * @param id 订单ID
     * @param status 新状态值
     * @return 是否更新成功
     */
    boolean updateOrderStatus(Integer id, Integer status);
}
